import http from '@/utils/request'

/**分页响应 */
export interface PaginationRes<T> {
  total: number
  data: T[]
}

/**分页请示 */
export interface PaginationCommon {
  currentPage: number
  pageSize: number
}

/**key-value */
export interface KeyValue {
  key: string
  value: string
}

/**支付方式 */
export interface PaymentTemplate {
  payWay?: string
  payMoney: number
  refundMoney: number
}

export enum EnumBusSource {
  挂号 = 0,
  门诊 = 1,
  预交金 = 2,
  住院 = 3,
}
